#include <QtGui/QApplication>
#include <QTextCodec>
#include <QSplashScreen>
#include <QTimer>
#include "hw.h"
#include "common_ui.h"

int main(int argc, char *argv[])
{
	QSplashScreen *StartupScreen;
    StartupScreen=new QSplashScreen(QPixmap(":/Startupscreen/res/Startup/Loading.png"));
    StartupScreen->show();
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")) ;
    QApplication a(argc, argv);
    a.processEvents();
    hw w;
    w.show();
    StartupScreen->finish(&w);
    delete StartupScreen;
    return a.exec();
}
